export default {
  geo: {
    show: true,
    map: 'china',
    label: {
      normal: {
        show: false
      },
      emphasis: {
        show: false,
      }
    },
    roam: false,
  },
  title: {
    text: '中国疫情实时统计',
    subtext: 'Data from 新浪网',
    sublink: 'https://interface.sina.cn/news/wap/fymap2020_data.d.json',
    left: 'left'
  },
  tooltip: {
    trigger: 'item',
    formatter: '{b}<br/>确诊人数：{c}'
  },
  visualMap: {
    min: 0,
    max: 1000,
    text: ['High', 'Low'],
    realtime: false,
    calculable: true,
    inRange: {
      color: ['#a0ddfc', 'yellow', 'red']
    }
  },
  series: [{
    name: 'china',
    type: 'map',
    map: 'china',
    /*roam: true,//控制图形的控制*/
    lable: {
      show: true
    },
    itemStyle: {
      emphasis: {
        areaColor: '#faf000'
      }
    },
  data: []
  }]
}
